package crawler.common;

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */


import java.util.List;

/**
 *
 * @author loctt
 */
public class PostData {

    private String site;
    private String categoryCode;
    private String category;
    private String id;
    private String title;
    private String thumb;
    private String url;
    private String desc;
    private String content;
    private List<String> images;
    private String tags;
    private String journalist;
    private long published;
    private long created;

    private String thumbFb;
    private String urlFb;
    private String titleFb;
    private String descFb;
    private String siteFb;

    public PostData(){
        
    }
    
    public PostData(String site, String categoryCode, String category, String id, String title,
            String thumb, String thumbFb, String url, String desc, String content,
            List<String> images, String tags, String journalist, long published, long created,
            String fbUrl, String fbTitle, String fbDesc, String fbSite) {
        this.site = site;
        this.category = categoryCode;
        this.category = category;
        this.id = id;
        this.title = title;
        this.thumb = thumb;
        this.thumbFb = thumbFb;
        this.url = url;
        this.desc = desc;
        this.tags = tags;
        this.content = content;
        this.images = images;
        this.journalist = journalist;
        this.published = published;
        this.created = created;
        this.titleFb = fbTitle;
        this.urlFb = fbUrl;
        this.descFb = fbDesc;
        this.siteFb = fbSite;
    }

    public String getSite() {
        return site;
    }

    public String getCategory() {
        return category;
    }

    public String getId() {
        return id;
    }

    public String getTitle() {
        return title;
    }

    public String getThumb() {
        return thumb;
    }
    public String getThumbFb() {
        return thumbFb;
    }

    public String getUrl() {
        return url;
    }

    public String getDesc() {
        return desc;
    }

    public String getContent() {
        return content;
    }

    public String getJournalist() {
        return journalist;
    }

    public long getPublished() {
        return published;
    }

    public long getCreated() {
        return created;
    }

    public String getTags() {
        return tags;
    }

    public List<String> getImages() {
        return images;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public void setThumb(String thumb) {
        this.thumb = thumb;
    }

    public void setThumbFb(String thumbFb) {
        this.thumbFb = thumbFb;
    }

    public String getUrlFb() {
        return urlFb;
    }

    public void setUrlFb(String urlFb) {
        this.urlFb = urlFb;
    }

    public String getTitleFb() {
        return titleFb;
    }

    public void setTitleFb(String titleFb) {
        this.titleFb = titleFb;
    }

    public String getDescFb() {
        return descFb;
    }

    public void setDescFb(String descFb) {
        this.descFb = descFb;
    }

    public String getSiteFb() {
        return siteFb;
    }

    public void setSiteFb(String siteFb) {
        this.siteFb = siteFb;
    }

    public void setCategoryCode(String categoryCode) {
        this.categoryCode = categoryCode;
    }

    public String getCategoryCode() {
        return categoryCode;
    }
    
}
